package com.situ.mail.shop.service;

import com.situ.mail.shop.pojo.User;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Author : yun&bo
 * @CreateDate : ==>2020/12/24 9:21
 * @ClassName : ==>
 * @Description : ==>
 * @Version
 */
public interface IndexService {

    public int doUserLogin(User user, String isRemeber, HttpServletRequest request, HttpServletResponse response);


        /**
         * 检查cookie  如果有效则存入session 实现自动登录
         * @param cookieValues
         * @param req
         */
    public void checkAutoLogin(String cookieValues, HttpServletRequest req);


}
